package model

import (
	"time"
)

type AuStore struct {
	StoreId    int       `xorm:"not null pk autoincr INT(11)"`
	EmpId      int       `xorm:"INT(11)"`
	ChannelId  int       `xorm:"not null INT(11)"`
	DepartId   int       `xorm:"not null INT(11)"`
	StoreName  string    `xorm:"VARCHAR(100)"`
	StoreLead  string    `xorm:"VARCHAR(30)"`
	LeadMobile string    `xorm:"VARCHAR(11)"`
	StoreTel   string    `xorm:"VARCHAR(20)"`
	LeadEmail  string    `xorm:"VARCHAR(50)"`
	Province   int       `xorm:"INT(11)"`
	City       int       `xorm:"INT(11)"`
	Area       int       `xorm:"INT(11)"`
	Address    string    `xorm:"VARCHAR(200)"`
	Createtime time.Time `xorm:"DATETIME"`
	Lasttime   time.Time `xorm:"DATETIME"`
	Status     int       `xorm:"default 0 TINYINT(4)"`
	Type       int       `xorm:"not null default 1 TINYINT(1)"`
	PointerX   float64   `xorm:"not null DOUBLE(10,6)"`
	PointerY   float64   `xorm:"not null DOUBLE(10,6)"`
	Qrcode     string    `xorm:"VARCHAR(255)"`
	Script     string    `xorm:"TEXT"`
	Service    string    `xorm:"TEXT"`
}
